import { post } from '../http'

/**
 * @description: 保险管理列表
 * @param data
 * @return Promise
 */
export const getCarInstureList = (data) => post({ url: '/carInsurance/getPageList', data })

/**
 * @description: 新增保险
 * @param data
 * @return Promise
 */
export const insertInsure = (data) => post({ url: '/carInsurance/insertInsure', data })

/**
 * @description: 编辑保险
 * @param data
 * @return Promise
 */
export const editInsure = (data) => post({ url: '/carInsurance/editInsure', data })

/**
 * @description: 删除保险
 * @param data
 * @return Promise
 */
export const deleteInsure = (data) => post({ url: '/carInsurance/deleteInsure', data })

/**
 * @description: 续保
 * @param data
 * @return Promise
 */
export const renewInsure = (data) => post({ url: '/carInsurance/renewInsure', data })

/**
 * @description: 退保
 * @param data
 * @return Promise
 */
export const refundInsure = (data) => post({ url: '/carInsurance/refundInsure', data })

/**
 * @description: 保险管理导出
 * @param data
 * @return Promise
 */
export const exportCarInsture = (data) => post({ url: '/carInsurance/exportExcel', data })

/**
 * @description: 保险详情
 * @param data
 * @return Promise
 */
export const carInsuranceDetail = (data) => post({ url: '/carInsurance/detail', data })

/**
 * @description: 保险列表
 * @param data
 * @return Promise
 */
export const carInsuranceFindDetail = (data) => post({ url: '/carInsurance/findDetail', data })
